package com.chb.javabasic.mybatis;

import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

//@Mapper
public interface MybatisUserMapper extends Mapper<MybatisUser>, MySqlMapper<MybatisUser> {
    List<MybatisUser> geAlltMybatisUsers();
    MybatisUser getUserById(Long id);
    void insertUser(MybatisUser user);
    void updateUser(MybatisUser user);
    void deleteUser(Long id);
}
